How to Create a Web Service with .NET

نویسنده

  • Bernard Domanski
چکیده

You hear all about Web Services but do you know how to create one? In this simple "How To" paper, we will try to demonstrate how to write and deploy a simple Web Service using Microsoft’s .NET environment with Visual Basic attend this session, and go back home very dangerous! 1. What is a Web Service? Simply stated, a Web Service offers a method (or methods) that can be invoked using open standards (including HTTP and XML) for communication. For those readers who are not up to speed on object-oriented programming, a method is just a function or procedure that is associated with an object. In other words, when a method is invoked, it simply executes an action of some kind. Web services are interesting because they offer a way to create programs that are platform-independent. These programs are accessed over the Web independent of the tools used to create them and the operating system they run on. Another characteristic of a Web service is that it must supply discovery information about itself. This means that you can query a Web service and have it tell you the names of the methods it provides, the arguments accepted by each method, and the return values for the methods. In other words, you don’t have to know very much about a Web service other that it exists to be able to use it in your programs. The driving force is that Web services are to provide components that can communicate with each other regardless of the language they were written in, and regardless of the operating system on which they run. Web services make their methods available for use or consumption, by other programs. To consume a Web service, a program makes a request running over HTTP to use the methods available via HTTP GET and HTTP POST – or more commonly – Simple Object Access Protocol (SOAP). Microsoft’s .NET environment insulates the Web service developer from the coding details of SOAP. With respect to the universal discovery mechanism provided by Web services, .NET automatically creates a Web Services Discovery Language (WSDL) document, which other applications (or people!) can read to understand how to use the Web service. Again, .NET insulates the developer from the details of creating the WSDL document, so it is important to know that it exists. Web services also make use of Universal Description, Discovery, and Integration (UDDI). UDDI is a kind of Yellow Pages for Web services, and you need to use UDDI to find a Web service, or if you want to make sure that your Web service can be found.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Deterministic Measurement of Reliability and Performance Using Explicit Colored Petri Net in Business Process Execution Language and Eflow

Today there are many techniques for web service compositions. Evaluation of quality parameters has great impact on evaluation of final product. BPEL is one of those techniques that several researches have been done on its evaluation. However, there are few researches on evaluation of QoS in eflow. This research tries to evaluate performance and reliability of eflow and BPEL through mapping them...

متن کامل

Labeled Generalized Stochastic Petri Net Based Approach for Web Services Composition

A Web Service is a component written in any language, deployed on any platform, which has a standard wrapping layer based on XML.The component can interact with other applications which themselves comply with the Web Services standards. Generally, a single service does not satisfy the users needs that are more and more complex. Therefore, services must be made able to becomposed to build new va...

متن کامل

Web Service Automatic Composition Model Based on Colored Petri Nets

As the capability of an individual Web service is limited, it’s necessary to create new functionalities with existing Web services. Web services composition is the ability to create a new value-added service by incorporating some existing web services together. A model based colored Petri net (CPN) to provide semantic support for web service composition is proposed. The basic composite construc...

متن کامل

Web Service Providers\' Game on Price and Service Level

  Response time is one of the critical web service quality dimensions. It refers to how long it takes that a web service responds to request of a user. In order to manage the response time, pricing schemes can work as an efficient access control mechanism. In this paper, we study competition between two providers offering functionally same web services where there is a monopoly service provider...

متن کامل

ICD Wiki - Framework for Enabling Semantic Web Service Definition and Orchestration

As Net-Centric enterprises grow, the desire to rapidly define and build reusable services and create new business processes through the combination of services and workflow will grow. Semantic Web Services is one approach to facilitate automated mediation between services based on semantic understanding of the services. Lockheed Martin is investigating the use of a wiki with an underlying RDF d...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003